package com.itheima.reggie.mapper;

import com.itheima.reggie.entity.SetmealDish;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDateTime;
import java.util.List;

public interface SetmealDishMapper {
    //批量插入套餐菜品列表数据
    Integer save(@Param("setmealDishList")List<SetmealDish> setmealDishList);
    //删除指定的多个id的套餐(伪删除)
    Integer deleteBySetmealIds(@Param("updateUser") Long updateUser,
                        @Param("updateTime") LocalDateTime updateTime,
                        @Param("ids") List<Long> ids);

}
